package com.lfnyxy.dao.org;


import com.lfnyxy.entity.org.EmpowerEntity;
import com.lfnyxy.query.org.EmpowerQuery;

import java.util.List;

/**
 * Created by ted on 17/5/8.
 */
public interface EmpowerDao {
    int CreateItem(EmpowerEntity entity);

    int UpdateItem(EmpowerEntity entity);

    List<EmpowerEntity> QueryPageList(EmpowerQuery query);

    List<EmpowerEntity> QueryAll();

    int QueryPageListCount(EmpowerQuery query);

    int CheckIsExist(EmpowerEntity entity);

    EmpowerEntity QueryItem(int Id);

    int DeleteItem(int Id);
}